<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1 , user-scalable=no">
    <title>学生管理</title>
    <link rel="stylesheet" href="../Bootstrap/bootstrap.css" />
    <link rel="stylesheet" href="../public.css">
</head>

<body>
    <!--导航-->
    <nav class="navbar navbar-default">
        <div class="container">
            <!--小屏幕导航按钮和logo-->
            <div class="navbar-header">
                <button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a href="admin.html" class="navbar-brand">学生教务系统</a>
            </div>
            <!--小屏幕导航按钮和logo-->
            <!--导航-->
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    <li><a href="admin.html"><span class="glyphicon glyphicon-home"></span>&nbsp;&nbsp;首页</a></li>
                    <li class="active"><a href="admin.html"><span
                                class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;成绩管理</a></li>
                    <li><a href="admin.html"><span class="glyphicon glyphicon-list-alt"></span>&nbsp;&nbsp;智能选课</a>
                    </li>
                    <li><a href="admin.html"><span class="glyphicon glyphicon-tags"></span>&nbsp;&nbsp;标签管理</a></li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li class="dropdown">
                        <a id="dLabel" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            admin
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu" aria-labelledby="dLabel">
                            <li><a href="admin.html"><span
                                        class="glyphicon glyphicon-screenshot"></span>&nbsp;&nbsp;前台首页</a></li>
                            <li><a href="admin.html"><span class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;个人主页</a>
                            </li>
                            <li><a href="admin.html"><span class="glyphicon glyphicon-cog"></span>&nbsp;&nbsp;个人设置</a>
                            </li>
                            <li><a href="admin.html"><span
                                        class="glyphicon glyphicon-credit-card"></span>&nbsp;&nbsp;账户中心</a></li>
                            <li><a href="admin.html"><span class="glyphicon glyphicon-heart"></span>&nbsp;&nbsp;我的收藏</a>
                            </li>
                        </ul>
                    </li>
                    <li><a href="../Login/login.html"><span class="glyphicon glyphicon-off"></span>&nbsp;&nbsp;退出</a>
                    </li>
                </ul>
            </div>
            <!--导航-->

        </div>
    </nav>
    <!--导航-->

    <div class="container">
        <div class="row">
            <div class="col-md-2">
                <ul class="nav nav-pills nav-stacked">
                    <li role="presentation" class="active"> <a href="#student_list" data-toggle="tab">学生管理</a></li>
                    <li role="presentation"> <a href="#student_search" data-toggle="tab">学生搜索</a>
                    </li>
                    <li role="presentation"> <a href="#teacher_search" data-toggle="tab">老师搜索</a>
                    </li>
                    <li role="presentation"> <a href="" data-toggle="modal" data-target="#myresidentstudent">添加学生</a>
                    </li>
                    <li role="presentation"> <a href="" data-toggle="modal" data-target="#myresidentteacher">添加老师</a>
                    </li>
                </ul>
                <!-- <div class="list-group">
                <a href="teacher.html" class="list-group-item active">学生管理</a>
                <a href="uesr_search.html" class="list-group-item">学生搜索</a>
                <a href="" role="button"  class="list-group-item" data-toggle="modal" data-target="#myModal">添加学生</a>
            </div> -->
            </div>
            <div class="col-md-10">
                <div class="tab-content">
                    <div class="tab-pane active" id="student_list">
                        <div class="page-header">
                            <h1>学生管理</h1>
                        </div>

                        <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" id="headingOne">
                                    <h4 class="panel-title">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion"
                                            href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
                                            查询具体功能？
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapseOne" class="panel-collapse collapse " role="tabpanel"
                                    aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        查询按钮可以让老师查看该生的每一项成绩信息
                                    </div>
                                </div>
                            </div>
                        </div>
                        <table class="table table-responsive  table-hover text-center">
                            <thead>
                                <tr>
                                    <th>ID</th>
                                    <th class="text-center">姓名</th>
                                    <th class="text-center">学号</th>
                                    <th class="text-center">查看成绩</th>
                                </tr>
                            </thead>
                            <tbody id="admin_querystudentinfo">
                            </tbody>
                        </table>
                    </div>
                    <div class="tab-pane " id="student_search">
                        <div class="page-header">
                            <h1>学生搜索</h1>
                        </div>
                        <form action="#" class="uesr_search">
                            <div class="alert alert-info" role="alert">
                                <strong>技巧提示：</strong>
                                输入学生信息可查询该生成绩及其相关信息
                            </div>
                            <div class="form-group">
                                <label for="admin_name">姓名</label>
                                <input type="texte" id="admin_name" class="form-control" placeholder="请输入学生姓名">
                            </div>
                            <div class="form-group">
                                <label for="admin_uid">学号</label>
                                <input type="text" id="admin_uid" class="form-control" placeholder="输入学号">
                            </div>
                            <div class="form-group">
                                <label for="password-student">密码</label>
                                <input type="password" id="password-student" class="form-control" placeholder="输入管理员密码">
                            </div>
                             
                            <button type="button" id="admin_search_button" class="btn btn-primary center-block" data-toggle="modal"
                               >查询</button>
                        </form>
                    </div>
                    <div class="tab-pane " id="teacher_search">
                        <div class="page-header">
                            <h1>老师搜索</h1>
                        </div>
                        <form action="#" class="uesr_search">
                            <div class="alert alert-info" role="alert">
                                <strong>技巧提示：</strong>
                                输入老师的账号可查询该老师的信息
                            </div>
                            <div class="form-group">
                                <label for="uid">账号</label>
                                <input type="text" id="teacher_findcontent" class="form-control" placeholder="输入账号">
                            </div>
                            <button type="button" class="btn btn-primary center-block" data-toggle="modal"
                                id="teacher_finder">查询</button>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- Model设置或添加成绩 -->
    <div class="modal fade" id="setoradd" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">修改/添加成绩</h4>
                </div>
                <div class="modal-body">
                    <form action="#">
                        <div class="form-group">
                            <label for="addscore1">微型计算机原理</label>
                            <input type="text" maxlength="3" id="addscore1" class="form-control" placeholder="请键入成绩">
                        </div>
                        <div class="form-group">
                            <label for="addscore2">人工智能</label>
                            <input type="text" maxlength="3" id="addscore2" class="form-control" placeholder="请键入成绩">
                        </div>
                        <div class="form-group">
                            <label for="addscore3">算法程序与设计</label>
                            <input type="text" maxlength="3" id="addscore3" class="form-control" placeholder="请键入成绩">
                        </div>
                        <div class="form-group">
                            <label for="addscore4">软件工程</label>
                            <input type="text" maxlength="3" id="addscore4" class="form-control" placeholder="请键入成绩">
                        </div>
                        <div class="form-group">
                            <label for="addscore5">计算机操作系统</label>
                            <input type="text" maxlength="3" id="addscore5" class="form-control" placeholder="请键入成绩">
                        </div>
                        <div class="form-group">
                            <label for="addscore6">Android移动应用开发</label>
                            <input type="text" maxlength="3" id="addscore6" class="form-control" placeholder="请键入成绩">
                        </div>
                        <div class="form-group">
                            <label for="addscore7">Java高级程序开发与设计</label>
                            <input type="text" maxlength="3" id="addscore7" class="form-control" placeholder="请键入成绩">
                        </div>
                        <div class="form-group">
                            <label for="addscore8">数据结构</label>
                            <input type="text" maxlength="3" id="addscore8" class="form-control" placeholder="请键入成绩">
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-primary">修改/添加</button>
                </div>
            </div>
        </div>
    </div>
    <!-- Model查询成绩 -->
    <div class="modal fade" id="search" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">学生成绩</h4>
                </div>
                <div class="modal-body">
                    <table class="table table-responsive table-striped table-hover text-center">
                        <thead>
                            <tr>
                                <th>课程</th>
                                <th class="text-center">考试成绩</th>
                                <th class="text-center">平时作业成绩</th>
                                <th class="text-center">出勤成绩</th>
                                <th class="text-center">总成绩</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <th scope="row">软件工程</th>
                                <td id="score1">89</td>
                                <td id="score2">12</td>
                                <td id="score3">12</td>
                                <td id="score4">12</td>
                            </tr>
                            <tr>
                                <th scope="row">C语言程序设计</th>
                                <td id="score5">89</td>
                                <td id="score6">12</td>
                                <td id="score7">12</td>
                                <td id="score8">12</td>
                            </tr>
                            <tr>
                                <th scope="row">数据结构</th>
                                <td id="score9">89</td>
                                <td id="score10">12</td>
                                <td id="score11">12</td>
                                <td id="score12">12</td>
                            </tr>
                            <tr>
                                <th scope="row">数据库SQL Server</th>
                                <td id="score13">89</td>
                                <td id="score14">12</td>
                                <td id="score15">12</td>
                                <td id="score16">12</td>
                            </tr>
                            </tr>
                            <tr>
                                <th scope="row">Android应用程序开发</th>
                                <td id="score17">89</td>
                                <td id="score18">12</td>
                                <td id="score19">12</td>
                                <td id="score20">12</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary" data-dismiss="modal">关闭</button>
                </div>
            </div>
        </div>
    </div>
    <!-- Modal添加学生 -->
    <div class="modal fade" id="myresidentstudent" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">学生注册</h4>
                </div>
                <div class="modal-body">
                    <form>
                        <div class="form-group">
                            <label for="recipient-id" class="control-label">学号：</label>
                            <input type="number" placeholder="输入学号" class="form-control active" id="recipient-id">
                        </div>
                        <div class="form-group">
                            <label for="recipient-name" class="control-label">姓名：</label>
                            <input type="text" placeholder="输入姓名" class="form-control" id="recipient-name">
                        </div>

                        <div class="form-group">
                            <label for="recipient-password" class="control-label">输入密码：</label>
                            <input type="password" placeholder="输入密码" class="form-control" id="recipient-password">
                        </div>
                        <div class="form-group">
                            <label for="recipient-password-ok" class="control-label">确认密码：</label>
                            <input type="password" placeholder="确认密码" class="form-control" id="recipient-password-ok">
                        </div>
                        <p id="msg_pwd" style="margin-left: 150px"></p>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn  btn-default" data-dismiss="modal">Close</button>
                    <!-- <button type="button" class="btn btn-primary" id="model_button_ok">OK</button> -->
                    <a id="model_button_ok" tabindex="0" class="btn btn-primary" role="button" data-toggle="popover"
                        data-trigger="focus" data-placement="left" data-content="您可能有信息未填写,请仔细检查并填写完您的信息">OK</a>
                </div>
            </div>
        </div>
    </div>


    <!-- Modal添加老师 -->
    <div class="modal fade" id="myresidentteacher" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">添加教师</h4>
                </div>
                <div class="modal-body">
                    <form action="#">
                        <div class="form-group">
                            <label for="recipient-teacher-name">姓名</label>
                            <input type="text" id="recipient-teacher-name" class="form-control" placeholder="用户名">
                        </div>
                        <div class="form-group">
                            <label for="recipient-teacher-num">请输入账号</label>
                            <input type="text" id="recipient-teacher-num" class="form-control" placeholder="请输入账号">
                        </div>
                        <div class="form-group">
                            <label for="recipient-teacher-classname">请选择授课名称</label>
                            <select id="recipient-teacher-classname" class="form-control">
                                <option>软件工程</option>
                                <option>C语言程序设计</option>
                                <option>数据结构</option>
                                <option>数据库SQL Server</option>
                                <option>Android应用程序开发</option>
                            </select>
                        </div>
                        <div class="form-group">
                            <label for="recipient-teacher-password">用户密码</label>
                            <input type="text" id="recipient-teacher-password" class="form-control"
                                placeholder="请输入用户密码">
                        </div>
                        <div class="form-group">
                            <label for="recipient-teacher-passwordok">确认用户密码</label>
                            <input type="text" id="recipient-teacher-passwordok" class="form-control"
                                placeholder="请确认输入用户密码">
                        </div>
                        <p id="teacher-msg_pwd" style="margin-left: 150px"></p>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>

                    <a id="teacher_model_button_ok" tabindex="0" class="btn btn-primary" role="button"
                        data-toggle="popover" data-trigger="focus" data-placement="left"
                        data-content="您可能有信息未填写,请仔细检查并填写完您的信息">OK</a>
                    <!-- <button type="button" id="teacher_model_button_ok" class="btn btn-primary">提交</button> -->
                </div>
            </div>
        </div>
    </div>
    <!-- 查找老师 -->
    <div class="modal fade" id="searchteacher" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">教师信息</h4>
                </div>
                <div class="modal-body">
                    <ul class="list-unstyled">
                        <li id="teacher_finder1">
                            <p></p>
                        </li>
                        <li id="teacher_finder2">
                            <p></p>
                        </li>
                        <li id="teacher_finder3">
                            <p></p>
                        </li>
                        <li id="teacher_finder4">
                            <p></p>
                        </li>
                    </ul>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </div>
        </div>
    </div>
    <!--footer-->
    <footer>
        <div class="container text-center setfooterposition">
            <div class="row">
                <div class="col-md-12">
                    <p>
                        © Copyright 鲁 版权所有
                    </p>
                </div>
            </div>
        </div>
    </footer>
    <!--footer-->



</body>
<script src="../Jquery/jquery-3.5.1.js"></script>
<script src="../Bootstrap/bootstrap.js"></script>
<script src="../JS/AdminJob.js"></script>

</html>